class UserModel {
  var birthday;
  var deptName;
  var partyJob;
  var sexName;
  var partyIdentity;
  var villageJob;
  var qq;
  var partyBranch;
  var address;
//  var douyin;
  var roleId;
  var sex;
  var deptId;
  var wechat;
  var avatar;
  var userId;
  var phone;
  var name;
  var roleName;
  var account;
  var upcardURL;
  var downcardURL;

  UserModel(
      {this.birthday,
        this.deptName,
        this.partyJob,
        this.sexName,
        this.partyIdentity,
        this.villageJob,
        this.qq,
        this.partyBranch,
        this.address,
        this.roleId,
        this.sex,
        this.deptId,
        this.wechat,
        this.avatar,
        this.userId,
        this.phone,
        this.name,
        this.roleName,
        this.upcardURL,
        this.downcardURL,
        this.account});

  UserModel.fromJson(Map<String, dynamic> json) {
    birthday = json['birthday'];
    deptName = json['deptName'];
    partyJob = json['partyJob'];
    sexName = json['sexName'];
    partyIdentity = json['partyIdentity'];
    villageJob = json['villageJob'];
    qq = json['qq'];
    partyBranch = json['partyBranch'];
    address = json['address'];
    roleId = json['roleId'];
    sex = json['sex'];
    deptId = json['deptId'];
    wechat = json['wechat'];
    avatar = json['avatar'];
    userId = json['userId'];
    phone = json['phone'];
    name = json['name'];
    roleName = json['roleName'];
    account = json['account'];
    upcardURL = json['upcardURL'];
    downcardURL = json['downcardURL'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['birthday'] = this.birthday;
    data['deptName'] = this.deptName;
    data['partyJob'] = this.partyJob;
    data['sexName'] = this.sexName;
    data['partyIdentity'] = this.partyIdentity;
    data['villageJob'] = this.villageJob;
    data['qq'] = this.qq;
    data['partyBranch'] = this.partyBranch;
    data['address'] = this.address;
    data['roleId'] = this.roleId;
    data['sex'] = this.sex;
    data['deptId'] = this.deptId;
    data['wechat'] = this.wechat;
    data['avatar'] = this.avatar;
    data['userId'] = this.userId;
    data['phone'] = this.phone;
    data['name'] = this.name;
    data['roleName'] = this.roleName;
    data['account'] = this.account;
    data['upcardURL'] = this.upcardURL;
    data['downcardURL'] = this.downcardURL;
    return data;
  }
}